package cake.entity;

import java.sql.Date;

public class Comment {
	private int id;
	private int uid;
	private int cid;
	private int score;
	private String content;
	private Date date;
	private String username;
	private String name;
	
	public Comment() {}
	public Comment(int id, int uid, int cid, int score, String content, Date date) {
		super();
		this.id = id;
		this.uid = uid;
		this.cid = cid;
		this.score = score;
		this.content = content;
		this.date = date;
	}
	public Comment(int id, int uid, int cid, int score, String content, Date date, String username) {
		super();
		this.id = id;
		this.uid = uid;
		this.cid = cid;
		this.score = score;
		this.content = content;
		this.date = date;
		this.username = username;
	}
	
	public Comment(int id, int uid, int cid, int score, String content, Date date, String username, String name) {
		super();
		this.id = id;
		this.uid = uid;
		this.cid = cid;
		this.score = score;
		this.content = content;
		this.date = date;
		this.username = username;
		this.name = name;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public int getCid() {
		return cid;
	}
	public void setCid(int cid) {
		this.cid = cid;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

}
